package com.sdwz.library.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdwz.library.entity.BookInfo;
import com.sdwz.library.entity.vo.BookInfoVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface BookInfoService extends IService<BookInfo> {
    //多条件分页查询
    Page<BookInfo> selectBookPage(long current, long limit, BookInfoVo bookInfoVo);

    //excel数据导入
    void importExcelData(MultipartFile file);

    //excel模板导出
    void exportTemplate(HttpServletResponse response);
}
